This is a procedural shader that places tiles from an atlas in a random configuration for my Enter the Gungeon proyect, as using modeled tiles wasn't optimal for VR
Example of the shader
The original texture on the left and the randomized result on the right.
The shader adapts to the scale of the object it's used on.
The shader uses the position as a seed for the randomization.